package com.codi.bus.core.dao;

import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.PortfolioFundOrder;
import com.codi.bus.core.vo.query.PortfolioFundOrderQueryVo;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 组合投资 订单
 *
 * @author spy
 * @date 2017-11-07 13:27
 */
public interface PortfolioFundOrderDao extends GeneratedBaseDao<PortfolioFundOrder> {

    /**
     * 添加记录
     *
     * @param record
     */
    void add(PortfolioFundOrder record);


    /**
     * 通过申请编号获取组合投资订单
     *
     * @param applyNo
     * @return
     */
    PortfolioFundOrder getByApplyNo(String applyNo);

    /**
     * query
     *
     * @param record
     * @return
     */
    List<PortfolioFundOrder> query(PortfolioFundOrderQueryVo record);

}
